﻿package emusic.api.events 
{
	import emusic.api.feeds.AlbumFeed;
	import emusic.api.feeds.SummaryDataFeed;
	import emusic.ws.PaginationInfo;
	import flash.events.Event;
	/**
	 * ...
	 * @author Martin Legris ( http://blog.martinlegris.com )
	 */
	public class ArtistSearchEvent extends Event
	{
		protected var _requestId:Number;
		protected var _pagination:PaginationInfo;
		protected var _feed:SummaryDataFeed;
		
		public static const SUCCESS:String = "artist_search_event_success";
		
		public function ArtistSearchEvent(type:String, feed:SummaryDataFeed, pagination:PaginationInfo, requestId:Number)
		{
			super(type);
			_feed = feed;
			_pagination = pagination;
			_requestId = requestId;
		}
		
		public function get requestId():Number { return _requestId; }
		public function get pagination():PaginationInfo { return _pagination; }
		public function get feed():SummaryDataFeed { return _feed; }
	}

}